package com.xl.xlserver;

import com.xl.xlserver.gameServer.GameServer;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class XlServerApplication {

    public static void main(String[] args) throws Exception {
        SpringApplication.run(XlServerApplication.class, args);

//        new GameServer(8979);

        System.out.println("服务已启动");
        GameServer server = new GameServer();

        server.start(8979);


    }

}
